package com.haohan.stock.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "operatate")
public class Operatate {

	@Id
	private String id;
	private int order;
	private String parent_id;// 方案主键
	private String operation;// 买入卖出
	private double number;// 操作数量
	private double money;// 操作金额
	private double hold_number;// 持有数量
	private double hold_money;// 持有金额
	private double percent;// 盈亏比例
	private double service_charge = 0.008;//服务费
	
	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParent_id() {
		return parent_id;
	}

	public void setParent_id(String parent_id) {
		this.parent_id = parent_id;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public double getNumber() {
		return number;
	}

	public void setNumber(double number) {
		this.number = number;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public double getHold_number() {
		return hold_number;
	}

	public void setHold_number(double hold_number) {
		this.hold_number = hold_number;
	}

	public double getHold_money() {
		return hold_money;
	}

	public void setHold_money(double hold_money) {
		this.hold_money = hold_money;
	}

	public double getPercent() {
		return percent;
	}

	public void setPercent(double percent) {
		this.percent = percent;
	}

	public double getService_charge() {
		return service_charge;
	}

	public void setService_charge(double service_charge) {
		this.service_charge = service_charge;
	}

}
